package com.weipai.demo.model.bo;

import com.fasterxml.jackson.annotation.JsonInclude;

import java.io.Serializable;

/**
 * <p>ImgBO class.</p>
 *
 * @author M6800
 * @version $Id: $Id
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
public class ImgBO implements Serializable {
    private String title;
    private String url;
    private Integer index;
    private Integer productType;
    private Integer imgType;
    private Integer id;
    private String businessCode;

    /**
     * <p>Getter for the field <code>id</code>.</p>
     *
     * @return a {@link Integer} object.
     */
    public Integer getId() {
        return id;
    }

    /**
     * <p>Setter for the field <code>id</code>.</p>
     *
     * @param id a {@link Integer} object.
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * <p>Getter for the field <code>productType</code>.</p>
     *
     * @return a {@link Integer} object.
     */
    public Integer getProductType() {
        return productType;
    }

    /**
     * <p>Setter for the field <code>productType</code>.</p>
     *
     * @param productType a {@link Integer} object.
     */
    public void setProductType(Integer productType) {
        this.productType = productType;
    }

    /**
     * <p>Getter for the field <code>imgType</code>.</p>
     *
     * @return a {@link Integer} object.
     */
    public Integer getImgType() {
        return imgType;
    }

    /**
     * <p>Setter for the field <code>imgType</code>.</p>
     *
     * @param imgType a {@link Integer} object.
     */
    public void setImgType(Integer imgType) {
        this.imgType = imgType;
    }

    /**
     * <p>Getter for the field <code>title</code>.</p>
     *
     * @return a {@link String} object.
     */
    public String getTitle() {
        return title;
    }

    /**
     * <p>Setter for the field <code>title</code>.</p>
     *
     * @param title a {@link String} object.
     */
    public void setTitle(String title) {
        this.title = title;
    }

    /**
     * <p>Getter for the field <code>url</code>.</p>
     *
     * @return a {@link String} object.
     */
    public String getUrl() {
        return url;
    }

    /**
     * <p>Setter for the field <code>url</code>.</p>
     *
     * @param url a {@link String} object.
     */
    public void setUrl(String url) {
        this.url = url;
    }

    /**
     * <p>Getter for the field <code>index</code>.</p>
     *
     * @return a {@link Integer} object.
     */
    public Integer getIndex() {
        return index;
    }

    /**
     * <p>Setter for the field <code>index</code>.</p>
     *
     * @param index a {@link Integer} object.
     */
    public void setIndex(Integer index) {
        this.index = index;
    }

    /**
     * <p>Getter for the field <code>businessCode</code>.</p>
     *
     * @return a {@link String} object.
     */
    public String getBusinessCode() {
        return businessCode;
    }

    /**
     * <p>Setter for the field <code>businessCode</code>.</p>
     *
     * @param businessCode a {@link String} object.
     */
    public void setBusinessCode(String businessCode) {
        this.businessCode = businessCode;
    }

    /** {@inheritDoc} */
    @Override
    public String toString() {
        return "ImgBO{" +
                "title='" + title + '\'' +
                ", url='" + url + '\'' +
                ", index=" + index +
                ", productType=" + productType +
                ", imgType=" + imgType +
                ", businessCode=" + businessCode +
                '}';
    }
}
